]> dgit.raspbian.org Git - gnome-shell.git/commit
keyboard: Try harder to find a matching layout
authorFlorian Müllner <fmuellner@gnome.org>
Sat, 16 Nov 2019 12:48:35 +0000 (13:48 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Sat, 16 Nov 2019 15:12:06 +0000 (16:12 +0100)
commitc1ec7b2ffa5b4e5f8b6a31d9cb3eaed0712bd03a
treea90e186b223e6f6c62bddf81a48447363e9d88c1
parent45ebb94b33e03857268f7665762a92d37c632acd
keyboard: Try harder to find a matching layout

While we support a reasonable list of layouts nowadays, we don't
include many variants like `fr+oss`. Instead of directly falling
back to the `us` layout, try stripping the variant first, as the
base layout is likely closer to the expectation than `us`.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/1907
js/ui/keyboard.js